package com.ruoyi.subject.constant;

/**
 * @author lzhj
 * @version 1.0.0
 * @className UserConstant.java
 * @description
 * @date 2021年01月17日 23:17:00
 */
public class QbSubConstant {
    /**
     * 用户验证失败提示
     */
    public static final String USER_VALIDATA_FAIL_MSG = "账号异常，请重新选择题库或绑定账号";

    /**
     * 考试记录，redis的key
     */
    public static final String EXAM_RECORD_KEY = "qb_exam_record:";

    /**
     * 小程序练题的抽题规则，redis的key前缀
     */
    public static final String SUBJECT_RULE_KEY = "qb_subject_rule:";
    /**
     * 按题库类型，类别，题型  分类，redis的key前缀
     */
    public static final String SUBJECT_CLASS_TYPE_KEY = "qb_subject_class_type:";

    /**
     * 题型
     */
    public static class QuestionType {
        /**
         * 单选题
         */
        public static final String single = "01";
        /**
         * 多选题
         */
        public static final String multiple = "02";
        /**
         * 判断题
         */
        public static final String judge = "03";
    }


}
